Summarize the common problems of PHPmailer group-sending Gmail, and phpmailer group-sending gmail. Summarize the frequently asked questions about PHPmailer group-sending Gmail. you may encounter many frequently asked questions when phpmailer
Summarize the common problems of PHPmailer group-sending Gmail, and phpmailer group-sending gmail
You may encounter many Frequently Asked Questions in PHPmailer Group Sending Gmail. The following summarizes some frequently asked questions and hopes
PHPmailer group Gmail FAQ. 1. couldnotauthenticate first, if you do not use a loop, it is basically an incorrect account or password. if you use a loop to send a group, remember to call Sm 1 after the send () method ends. cocould not authenticate
This article mainly summarizes the common problems of PHPmailer group sending Gmail, and sorts out an example of phpmailer sending gmail mail, if you are interested, you can refer to the many Frequently Asked Questions you encounter in the PHPmailer
The mail () function in PHP is very simple, but it also makes it impossible to use the popular SMTP server with verification function (gmail, 163,126, etc)Now, by configuring sendmail provided by XAMPP, PHP's mail () function can send emails
System Environment: windows7 + wamp5
Environment requirements: Gmail account + open_ssl + PHPMailer;
1. Open_ssl is not enabled for wamp5 by default. You need to modify php. ini and remove the semicolon before extension = php_openssl.dll;
2.
SMTP error:could not connect to SMTP host.
I use the Web page runtime Normal, can send, with the command to run PHP file times wrong, the main code is checked correctly, as follows
function SendMail ($setEmail, $setName, $body, $subject)
1. cocould not authenticate first, if you do not use a loop, it is basically an incorrect account or password. If you use a loop to send a group, remember to call Smtpclose () after the send () method ends (), send the email once. Otherwise, only
Introduction: This is a detailed page for compiling and installing nginx, PHP 11.04, MySQL, MongoDB, memcached, SSL, and SMTP in Ubuntu 5.3. It introduces the knowledge, skills, and experience related to PhP, and some PHP source code.
Class =
Configure the SMTPmail service in XAMPP so that PHP's mail () function can send emails. The mail () function in PHP is very simple, but it also makes it impossible to use the popular SMTP server with verification function (gmail, 163,126, etc) now
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.